﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zor_Modes;
using Zor_IDAL;
using Zor_Tools;

namespace Zor_DAL
{
    public class TenantWarn_DAL<T> where T : class
    {

        /// <summary>
        /// 获取租赁管理列表（不分页）
        /// create 刘云飞 by 2017/04/06   
        /// </summary>
        /// <returns></returns>
        public static List<T> SelectViewTenantWarn(string where = null)
        {
            var sql = "select * from V_TenantWarn where Dt_Id = " + RequestSession.GetSessionUser().DT_Id + " order by Lease_Id";
            return DapperQuery<T>.DoQueryList(sql, null);
        }
    }
}
